﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Multiprocessing.Core.Algorithm;

namespace Multiprocessing.Analyse
{
    public interface IAnalyseUnit
    {
        IAlgorithm Algorithm { get; }
        double Calculate(int processingUnitCount, params object[] args);
        double Calculate(int processingUnitCount, Type processingBlockType, out TimeSpan elapsed, params object[] args);
    }
}
